package com.ruoyi.cms.domain.request;

import java.io.Serializable;
import java.util.List;

/**
 * 草稿reqDTO
 *
 * @author Lorry
 * @since 2020-12-6 23:18
 */
public class ArticleDraftReqDTO implements Serializable {
    /**
     * 平台：1微信，2头条
     */
    private Integer platform;
    private List<Data> data;

    public Integer getPlatform() {
        return platform;
    }

    public void setPlatform(Integer platform) {
        this.platform = platform;
    }

    public List<Data> getData() {
        return data;
    }

    public void setData(List<Data> data) {
        this.data = data;
    }

    public static class Data {
        /**
         * 微信原始账号ID
         */
        private String originId;
        /**
         * 文章地址
         */
        private String url;

        public String getOriginId() {
            return originId;
        }

        public void setOriginId(String originId) {
            this.originId = originId;
        }

        public String getUrl() {
            return url;
        }

        public void setUrl(String url) {
            this.url = url;
        }

        @Override
        public String toString() {
            return "Data{" +
                    "originId='" + originId + '\'' +
                    ", url='" + url + '\'' +
                    '}';
        }
    }

    @Override
    public String toString() {
        return "ArticleDraftReqDTO{" +
                "platform=" + platform +
                ", data=" + data +
                '}';
    }
}
